package com.itheima.springbootwebtest.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * jwt 配置映射文件
 *
 * @Author mr.luo
 * @Date 14 4月 2025 14:02
 */
@Data
@Component
@ConfigurationProperties(prefix = "jwt")
public class JWTProperties {
    private String secretKey;
    private Long expire;
    private String tokenName;
}
